package com.base.commonlib.http.service;


import java.util.Map;

import io.reactivex.Flowable;
import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.Response;
import retrofit2.http.HeaderMap;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.PartMap;
import retrofit2.http.Url;

/**
 * Date：2019/3/28 下午9:50
 * Creator：arvin
 * Des：
 */

public interface PostService_Multi{

    @Multipart
    @POST
    Call<String> synUpMulti(@Url String baseUrl, @PartMap Map<String, RequestBody> map);

    @Multipart
    @POST
    Flowable<Response<String>> upMulti(@Url String baseUrl, @PartMap Map<String, RequestBody> map);

    @Multipart
    @POST
    Call<String> synUpMulti(@Url String baseUrl, @PartMap Map<String, RequestBody> map, @HeaderMap Map<String, String> headers);

    @Multipart
    @POST
    Flowable<Response<String>> upMulti(@Url String baseUrl, @PartMap Map<String, RequestBody> map, @HeaderMap Map<String, String> headers);
}
